function safetyDialog(){translateAll(),$(function(){$("#safetyDialog").dialog({height:550,width:800,draggable:!1,modal:!0,resizable:!1,dialogClass:"ui-dialog-osx",closeOnEscape:!1,open:function(e,i){$(".ui-dialog-titlebar-close",i.dialog|i).hide()}})}),$(function(){$("#apply").click(function(){$("#safetyDialog").dialog("close")}),$("#decline").click(function(){win.close()})})}var fs=require("fs"),fileName="./package.json",file=require(fileName);if("1"==file.safetyNotify)safetyDialog();else{var x=document.getElementById("safetyDialog");x.style.display="none"}